﻿using QuanLyGiaoVuDAL.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyGiaoVuService.CommandServices
{
    public interface ITaiLieuCommandService
    {
        TaiLieuDTO InsertTaiLieu(Guid maNguoiDung, TaiLieuDTO taiLieu);
        TaiLieuDTO UpdateTaiLieu(Guid maNguoiDung, TaiLieuDTO taiLieu);
        bool DeleteTaiLieu(Guid maNguoiDung, Guid maTaiLieu);
        bool ChiaSeTaiLieu(Guid maTaiLieu, bool chiaSe);
        bool SaoChepTaiLieu(Guid maTaiLieu, Guid maThuMuc);

        ThuMucDTO TaoThuMucMoi(Guid maNguoiDung, ThuMucDTO thuMuc);
        ThuMucDTO TaoThuMucGiangVien(Guid maNguoiTao, Guid maGiangVien, ThuMucDTO thuMuc);
        ThuMucDTO TaoThuMucGocGiangVien(Guid maNguoiTao, Guid maGiangVien, ThuMucDTO thuMuc);
        ThuMucDTO SuaThuMuc(Guid maNguoiDung, ThuMucDTO thuMuc);
        bool XoaThuMuc(Guid maNguoiDung, Guid id);
    }
}
